//
//  DXWChannelCell.m
//  pandaTV
//
//  Created by 淡馨慰 on 16/11/2.
//  Copyright © 2016年 淡馨慰. All rights reserved.
//

#import "DXWChannelCell.h"
#import "DXWChannelItem.h"
#import "DXWTagItem.h"

@interface DXWChannelCell ()



@end

@implementation DXWChannelCell

- (void)awakeFromNib
{
    [super awakeFromNib];
}

//- (void)setTagItem:(DXWTagItem *)tagItem
//{
//    _tagItem = tagItem;
//    [self.btn setTitle:_tagItem.name forState:UIControlStateNormal];
//    NSLog(@"%@",tagItem);
//}

- (void)setItem:(DXWChannelItem *)item
{
    _item = item;
    NSLog(@"%@",item);
    [self.btn setTitle:item.cname forState:UIControlStateNormal];
    //标签的字体大小
    self.btn.titleLabel.font = tag_Font;

}


@end
